package com.bgs.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 求职简历表
 * </p>
 *
 * @author cui
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Resume对象", description="求职简历表")
public class Resume{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer rid;

    @ApiModelProperty(value = "证件照id")
    private Integer photo;

    @ApiModelProperty(value = "申请职位")
    private String position;

    @ApiModelProperty(value = "简历来源")
    private String source;

    @ApiModelProperty(value = "候选人状态（1初筛  2面试  3录用 4入职  5淘汰）")
    private Integer status;

    @ApiModelProperty(value = "自我评价")
    private String evaluation;

    @ApiModelProperty(value = "姓名")
    private String rname;

    @ApiModelProperty(value = "手机号码")
    private String rphone;

    @ApiModelProperty(value = "性别（1男  0 女）")
    private Integer sex;

    @DateTimeFormat(pattern = "yyyy-MM-dd")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd")//JsonFormat是出参格式
    @ApiModelProperty(value = "出生日期")
    private Date rbirthday;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "工作经验")
    private String workexp;

    @ApiModelProperty(value = "民族")
    private String rnation;

    @ApiModelProperty(value = "籍贯")
    private String nativeaddres;

    @ApiModelProperty(value = "户籍地址")
    private String residence;

    @ApiModelProperty(value = "居住地址")
    private String address;

    @ApiModelProperty(value = "婚姻状况")
    private String marriage;

    @ApiModelProperty(value = "政治面貌")
    private String political;

    @ApiModelProperty(value = "邮箱地址")
    private String remail;

    @ApiModelProperty(value = "微信")
    private String rwechat;

    @ApiModelProperty(value = "qq")
    private String rqq;

    @ApiModelProperty(value = "期望行业")
    private String industry;

    @ApiModelProperty(value = "期望职位")
    private String rposition;

    @ApiModelProperty(value = "期望年薪")
    private String rsalary;

    @ApiModelProperty(value = "期望工作地")
    private String workaddress;

    @ApiModelProperty(value = "工作经历id")
    private Integer workid;

    @ApiModelProperty(value = "教育经历id")
    private Integer eduid;

    @ApiModelProperty(value = "项目经历id")
    private Integer projectid;

    @ApiModelProperty(value = "技能id")
    private Integer skillid;

    @ApiModelProperty(value = "关联工作经历表")
    private Work work;

    @ApiModelProperty(value = "关联教育经历表")
    private Experience experience;

    @ApiModelProperty(value = "关联项目经历表")
    private Project project;

    @ApiModelProperty(value = "关联技能表")
    private Skill skill;

    @ApiModelProperty(value = "关联简历图片表")
    private ResumePicture resumePicture;



}
